package org.glut.backend.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.glut.backend.domain.Film;
import org.glut.backend.domain.StreetFood;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

@Data
public class PayOrderInfoVO {

    private Integer movieSchedulingId;

    private String cinemaName;

    private String filmName;

    private String filmImg;

    /**
     * 排片日期
     */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private LocalDate sliceArrangementDate;

    /**
     * 开始时间
     */
    @JsonFormat(timezone = "GMT+8",pattern = "HH:mm")
    @DateTimeFormat(pattern="HH:mm")
    private LocalDateTime startTime;

    /**
     * 价格
     */
    private BigDecimal price;

    /**
     * 播放厅
     */
    private String playHall;

    /**
     * 结束时间
     */
    @JsonFormat(timezone = "GMT+8",pattern = "HH:mm")
    @DateTimeFormat(pattern="HH:mm")
    private LocalDateTime endTime;

    private List<StreetFood> streetFoodList;


}
